Javascript Debouncing Explained Simply